<template>
    <div>
        <h2>修改商品</h2>
        <h3>id:{{ id }}</h3>
    </div>

</template>

<script lang='ts' setup>
import {useRoute} from 'vue-router'
const route=useRoute()
let id=route.query.id
</script>

<style lang='scss' scoped>
</style>